import request from '@/utils/request'

const BASE_URL = "/api/v1/pdf-dropdown";

export interface PDFDropDownTreeNode {
  id: string;
  name: string;
  parentId?: string;
  parent:number;
  children: PDFDropDownTreeNode[];
}

export const getDropDownList = () => {
  return request<any,PDFDropDownTreeNode[]>({
    url: `${BASE_URL}`,
    method: 'get'
  })
}








